#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int my_strcmp(char* p1, char* p2)
{
	while (*p1 == *p2 )
	{
		p1++;
		p2++;
		if (*p1 == '\0')
			return 0;
	}
	return *p1 - *p2;
}
int main()
{
	char arr1[] = "abd";
	char arr2[] = "abd";
	printf("%d",my_strcmp(arr1, arr2));


}